package com.colin.aiyi.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.colin.aiyi.R;
import com.colin.aiyi.entity.Status;

import java.util.List;

/**
 * Created by hl on 2017/5/8.
 */

public class HomeAdapter extends BaseQuickAdapter<Status, BaseViewHolder> {

    public HomeAdapter(List<Status> list) {
        super(R.layout.item_layout_home, list);
    }




    @Override
    protected void convert(BaseViewHolder helper, Status item) {
        helper.setText(R.id.text_decs,item.getUserName());
    }
}